package com.gitee.wsl.struct.grammar.ast.render.tag


import com.gitee.wsl.struct.grammar.ast.node.ASTNode
import com.gitee.wsl.struct.grammar.ast.visitor.Visitor

interface TagVisitor: Visitor {

    fun consumeTagOpen(node: ASTNode,
                       tagName: CharSequence,
                       vararg attributes: CharSequence?,
                       autoClose: Boolean = false)

    fun consumeTagClose(tagName: CharSequence)

    fun consumeHtml(html: CharSequence)
}